
public class Mitschrift {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		Person p1 = new Person(); //instanciate person object
		p1.setName("Hugo Boss");
		p1.setSalary(8900);
		//p1.setMatrikelnr(1);
		Person p2 = new Person();
		p2.setName("Franz Zoppel");
		p2.setSalary(900);
		Person p3 = new Person();
		p3.setName("benny zwanzger");
		p3.setSalary(10e12);
		p3.setMatrikelnr(1210247005);
		
		
		System.out.println("Person 1: " + p1.toString());
		System.out.println("Person 2: " + p2.toString());
		
		//System.out.println("name: " + p2.getName() + ", Salary: " + p2.getSalary());
		System.out.println("Person 3: " + p3.toString());
	
	}
}